/*
 * Script to display the Question form
 * 
 * Author: Chris Casola
 */

(function() {
	
	/**
	 * Displays the Question form on the page
	 */
	function QuestionForm(appFrame) {
		this.frame = appFrame;
		
		this.displayForm = function() {
			var content = "<section id='createForm'>" +
						  "<input type='text' id='question' name='question' size='55' placeholder='What are you trying to decide?' /><br />" +
						  "<section class='buttonPanel'>" +
							"<ul>" +
								"<li class='button' id='btnClosed'>Closed</li>" +
								"<li class='button' id='btnOpen'>Open</li>" +
								"<li class='button' id='btnShowSignIn'>Sign In to an Existing Event</li>" +
							"</ul>" +
							"<p><span class='tip' id='eventType'>[?]</span></p>" +
						  "</section>" +
						  "</section>";
			return content;
		}
	}
	
	window.QuestionForm = QuestionForm;
}).call();
